public class Movie {
    private String title;

    public String getGenre() {
        return genre;
    }

    public void setGenre(String genre) {
        this.genre = genre;
    }

    private String genre;

    public Movie(String title) {
        this.title = title;
    }

    public int getRating() {
        return rating;
    }


    private int rating;

    public void playIt(){
        System.out.println(title+""+genre+""+rating);
    }
}